package com.wwj.server.control.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.control.common.MsgConstants;
import com.wwj.server.model.NetBaseMsg;

public class DeviceStateChangeMsg extends NetBaseMsg {

    private String type = MsgConstants.DEVICE_STATE_CHANGE;

    @SerializedName("device_id")
    private String deviceId;

    private String state;

    public DeviceStateChangeMsg() {
    }

    public DeviceStateChangeMsg(String type, String deviceId, String state) {
        this.type = type;
        this.deviceId = deviceId;
        this.state = state;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
